package com.wjc.train.member.repository;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wjc.train.member.entity.Passenger;
import com.wjc.train.member.mapper.PassengerMapper;
import com.wjc.train.member.req.PassengerQueryReq;
import com.wjc.train.member.resp.PassengerQueryResp;
import org.springframework.stereotype.Repository;

/**
 * @author Guessed
 */
@Repository
public class PassengerRepository extends ServiceImpl<PassengerMapper, Passenger> implements IService<Passenger> {

    public IPage<PassengerQueryResp> queryList(IPage<PassengerQueryResp> page, PassengerQueryReq passengerQueryReq) {
        return baseMapper.queryList(page,passengerQueryReq);
    }

}
